import API from "@/utils/request";

// 砍价

export const ADD_BARGAIN = data => {
  return API("bargain/v1.bargain/add_bargain", data);
};
export const COUPON_LIST = data => {
  return API("sp/v1.Coupon/coupon_list", data);
};
export const BARGAIN_LIST = data => {
  return API("bargain/v1.bargain/bargain_list", data);
};
export const ADD_BARGAIN_CONFIG = data => {
  return API("bargain/v1.bargain/add_bargain_config", data);
};
export const up_down = data => {
  return API("bargain/v1.bargain/up_down", data);
};

export const ADDASSEMBLEBASECONFGOODS = data => {
  return API("sp/v1.Assemble/addAssembleBaseConfGoods", data);
};
export const GETGOODSSKU = data => {
  return API("sp/v1.Assemble/getGoodsSku", data);
};
export const aGOODSLIST = data => {
  return API("sp/v1.Assemble/goodsList", data);
};
export const EDITASSEMBLEBASECONFGOODS = data => {
  return API("sp/v1.Assemble/editAssembleBaseConfGoods", data);
};
export const SHOWONETWO = data => {
  return API("sp/v1.Assemble/showOneTwo", data);
};
export const DELGOODS = data => {
  return API("sp/v1.Assemble/delGoods", data);
};
